package com.chenlonghai.sbmybatis.dao;

import java.util.List;


import com.chenlonghai.sbmybatis.entity.Opinion;


public interface OpinionDao {
	  List<Opinion>queryOpinion();
	  Opinion queryOpinionById(int id);
	  List<Opinion>queryOpinionByType(Opinion opinion);
	  int insertOpinion(Opinion opinion);
	  int updateOpinion(Opinion opinion);
	  int deleteById(int id);
}
